package com.ciquan.server.service;

import com.ciquan.server.bean.UserInfo;
import com.ciquan.server.util.web.Result;

import java.util.List;

/**
 * Created by bjliwei2014 on 2015/2/27.
 */
public interface UserInfoService {

    UserInfo selectById(int id);

    List<UserInfo> selectApplyUser();

    int applyUser(int id);

    int applyRefuse(int id);

    List<String> tokens(String deviceType);

    List<UserInfo> selectMerchant();

    boolean hasUser(String phone);

    boolean registerUser(UserInfo userInfo, Result result);

    boolean resetPassword(UserInfo userInfo, Result result);

    List<String> mobiles();
}
